package com.df.tools.command;

import com.df.tools.util.CodeGeneratorManager;
import lombok.RequiredArgsConstructor;
import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;

@RequiredArgsConstructor
@Component
public class CommandEntry implements CommandLineRunner {



    private final CodeGeneratorManager codeGeneratorManager;

    @Override
    public void run(String... args) throws Exception {
        codeGeneratorManager.start();
    }
}
